<%= error_messages_for :team %>
<% form_for [:admin,@team] do |f| %>
<p>
<label>sport</label>
<%= f.collection_select :sport_id,Sport.all,:id,:name %>
</p>

<p>
<label>name</label>
<%= f.text_field :name %>
</p>

<p>
<label>name alias</label>
<%= f.text_field :name_alias %>
</p>

<p>
<label>display name </label>
<%= f.text_field :display_name%>
</p>


<p>
<label>picture</label>
<%= f.text_field :pic %>
</p>

<p>
<label>&nbsp;</label>
<%= submit_tag "submit",:class=>"button" %>
</p>
<% end %>
